package com.ccb.testcenter.filtermanager;

import java.util.Map;

import com.ccb.testcenter.servicemaping.IFilter;
import com.ccb.testcenter.servicemapingconfig.DataContext;
import com.ccb.testcenter.tools.JsonParseTool;

public class A0182A001Filter implements IFilter {
	@Override
	public boolean doFilter(String contextData) {
//		Map<String, String> dataMap = DataContext.getContextreq();
		String TFT_BUSN_TYPE =  JsonParseTool.getRequestDataFromAbsolutePath(contextData,"TFT-BUSN-TYPE");
		if (TFT_BUSN_TYPE.equals("2")) {
			System.out.println("执行类返回true");
			return true;
		}
		return false;
	}
}
